package cn.sofwin.sb.dao.impl;

import cn.sofwin.sb.dao.UserDao;
import cn.sofwin.sb.entity.User;
import org.springframework.stereotype.Repository;

@Repository
public class UserDaoImpl implements UserDao {

    @Override
    public User findUser(Integer id) {
        User user = new User();
        user.setId(id);
        user.setUsername("lisi");
        user.setPassword("123");
        user.setNickname("李四");
        return user;
    }
}
